<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>科鹏机电</title>
<head th:include="include :: header"></head>
<style>
	.table {
		line-height: 40px;
		font-size: 18px;
		margin-left: 64px;
	}
	.subm{
		text-align: center;
	}
</style>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<form class="form-horizontal m-t" id="signupForm">
						<div class="ibox-content">
							<input id="id" name="id" th:value="${project.id}"  type="hidden">
							<div class="form-group">
								<label class="col-sm-2 control-label">项目名称：</label>
								<div class="col-sm-4">
									<input id="name" name="name" class="form-control" type="text"  th:value="${project.name}" readonly>
								</div>
								<label class="col-sm-2 control-label">项目编号：</label>
								<div class="col-sm-4">
									<input id="itmNumber" name="itmNumber" class="form-control" type="text" th:value="${project.itmNumber}" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目类型：</label>
								<div class="col-sm-4">
									<select data-placeholder="--选择类型--" name="itmProTypeid" id="itmProTypeid"
											class="form-control" tabindex="2" required readonly>
										<option value="">--选择类型--</option>
										<option th:each="projecttype:${projecttypeList}" th:value="${projecttype.id}"
												th:text="${projecttype.name}" th:selected="${project.itmProTypeid} == ${projecttype.id}"></option>
									</select>
								</div>
								<label class="col-sm-2 control-label">项目负责人：</label>
								<div class="col-sm-4">
									<select data-placeholder="--选择负责人--" name="itmManagerId" id="itmManagerId"
											class="form-control" tabindex="2" required readonly>
										<option value="">--选择负责人--</option>
										<option th:each="user:${userList}" th:value="${user.userId}" th:text="${user.name}"
												th:selected="${project.itmManagerId} == ${user.userId}"></option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">客户名称：</label>
								<div class="col-sm-4">
									<input id="custName" name="custName" class="form-control" type="text" th:value="${project.custName}" readonly>
								</div>
								<label class="col-sm-2 control-label">拟承接部位：</label>
								<div class="col-sm-4">
									<input id="itmDecSite" name="itmDecSite" class="form-control" type="text" th:value="${project.itmDecSite}" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目说明：</label>
								<div class="col-sm-10">
									<textarea id="itmRemark" name="itmRemark" class="form-control" th:text="${project.itmRemark}" readonly></textarea>
								</div>
							</div>
					</div>
						<div class="ibox-content">
						<div class="form-group">
							<div class="form-group">
								<label class="col-sm-2 control-label">付款方式：</label>
								<div class="col-sm-4">
									<select data-placeholder="--付款方式--" name="paytypeId" id="paytypeId" class="form-control" tabindex="2" required>
										<option value="">--付款方式--</option>
										<option th:each="paytype:${paytypeList}" th:value="${paytype.id}"
												th:text="${paytype.name}" th:selected="${project.paytypeId} == ${paytype.id}"></option>
									</select>
								</div>
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-4">
								</div>
							</div>

						</div>
						</div>
							<div class="ibox-content">
								<div class="table">合同金额</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估设备部分金额(13%)：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.deviceAmount" name="deviceAmount.deviceAmount" th:value="${deviceAmount?.deviceAmount}" oninput="deviceAmount()" class="form-control" type="text" >
									</div>
									<label class="col-sm-2 control-label">预估安装部分金额(9%)：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.installAmount" name="deviceAmount.installAmount" th:value="${deviceAmount?.installAmount}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估技术服务部分金额(6%)：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.techAmount" name="deviceAmount.techAmount" th:value="${deviceAmount?.techAmount}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估其他类型金额(0%)：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.conOtherAmount" name="deviceAmount.conOtherAmount" th:value="${deviceAmount?.conOtherAmount}" oninput="deviceAmount()" class="form-control" type="text" >
									</div>
								</div>
							</div>
							<div class="ibox-content">
								<div class="table">设备成本</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估公司采购成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.compPurPrice" name="deviceAmount.compPurPrice" th:value="${deviceAmount?.compPurPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估现场采购成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.onPurPrice" name="deviceAmount.onPurPrice" th:value="${deviceAmount?.onPurPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估其他成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.otherPrice" name="deviceAmount.otherPrice" th:value="${deviceAmount?.otherPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label"></label>
									<div class="col-sm-4"></div>
								</div>
							</div>
							<div class="ibox-content">
								<div class="table">工程分包</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估分包费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.outlayPrice" name="deviceAmount.outlayPrice" th:value="${deviceAmount?.outlayPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估保险费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.insurancePrice" name="deviceAmount.insurancePrice" th:value="${deviceAmount?.insurancePrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估其他费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.outlayOtherPrice" name="deviceAmount.outlayOtherPrice"  th:value="${deviceAmount?.outlayOtherPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label"></label>
									<div class="col-sm-4"></div>
								</div>
							</div>

							<div class="ibox-content">
								<div class="table">项目成本</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估税金成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.taxCost" name="deviceAmount.taxCost" th:value="${deviceAmount?.taxCost}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估财务成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.financialCosts" name="deviceAmount.financialCosts" th:value="${deviceAmount?.financialCosts}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估其他成本：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.otherCost" name="deviceAmount.otherCost"  th:value="${deviceAmount?.otherCost}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label"></label>
									<div class="col-sm-4"></div>
								</div>
							</div>


							<div class="ibox-content">
								<div class="table">项目管理</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估销售人员报销：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.saleExpPrice" name="deviceAmount.saleExpPrice" th:value="${deviceAmount?.saleExpPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估差旅费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.travelPrice" name="deviceAmount.travelPrice" th:value="${deviceAmount?.travelPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">现场商务费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.businessPrice" name="deviceAmount.businessPrice" th:value="${deviceAmount?.businessPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估总包管理配合：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.mgrPrice" name="deviceAmount.mgrPrice" th:value="${deviceAmount?.mgrPrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估现场办公费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.onofficePrice" name="deviceAmount.onofficePrice" th:value="${deviceAmount?.onofficePrice}" oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估物流运输费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.expressPrice" name="deviceAmount.expressPrice" th:value="${deviceAmount?.expressPrice}" oninput="deviceAmount()"  class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估其他费用：</label>
									<div class="col-sm-4">
										<input id="deviceAmount.mgrOtherPrice" name="deviceAmount.mgrOtherPrice" th:value="${deviceAmount?.mgrOtherPrice}"  oninput="deviceAmount()" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">利润：</label>
									<div class="col-sm-4">
										<input id="profit" name="deviceAmount.profit"  th:value="${deviceAmount?.profit}" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">预估成本合计：</label>
									<div class="col-sm-4">
										<input id="allCost" name="deviceAmount.allCost" th:value="${deviceAmount?.allCost}" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">预估利润率：</label>
									<div class="col-sm-4">
										<input id="profitmargin" name="profitmargin" th:value="${deviceAmount?.profitmargin}" class="form-control" type="text">
									</div>
								</div>

								<div class="form-group subm">
									<a class="btn btn-primary" href="#" mce_href="#" title="报价提交" onclick="saveInfo()"><i class="fa fa-edit">报价提交</i></a>
									<button type="submit" class="btn btn-primary">确认提交</button>
								</div>
							</div>
					</form>
					</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/itm/project/bissedit.js">
	</script>
</body>
</html>
